package com.vivo.org.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.vivo.org.entity.OrgPermission;

public interface OrgPermissionService {

	public Map<String,Object> create(OrgPermission permission);

	public Map<String,Object> update(OrgPermission permission);

	public Map<String,Object> delete(String id);

	public OrgPermission findOrgPermission(String id);

	public Set<String> findOrgPermissionsByUserid(String userId);

	public List<OrgPermission> findOrgPermissions(String roleId,String type);
}
